package com.atguigu.spzx.user.client.feign;

import com.atguigu.spzx.model.common.Result;
import com.atguigu.spzx.model.entity.h5.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * title:
 * author: zgl
 * date: 2024/1/19
 * description：
 */
@FeignClient(value = "service-user")
public interface UserFeignClient {
    @GetMapping("/api/user/userAddress/getUserAddress/{id}")
    public Result<UserAddress> getUserAddress(@PathVariable Long id);
}
